package JavaDowork.pratice3;

public class Q8s3 {

    public static void main(String[] args) {
        int sum = 0;
        for (int i = 1; i <= 100; i += 2) {
            sum += i;
        }
        System.out.println("100 以内所有奇数的和是：" + sum);
    }
}

